package com.zx.tradeclient.ctrl.index6;

import android.os.Bundle;
import android.text.Html;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.TextView;

import com.zx.base.ctrl.BaseActivity;
import com.zx.base.util.ActivityTaskManager;
import com.zx.tradeclient.R;

public class CopyrightActivity extends BaseActivity implements
		OnClickListener {
	/** Called when the activity is first created. */

	private TextView company_copyright;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.company_copyright);

		if (!(ActivityTaskManager.getInstance()
				.containsName("CopyrightActivity"))) {
			ActivityTaskManager.getInstance().putActivity(
					"CopyrightActivity", this);
		}

		init();

	}

	private void init() {


		setHeader(0);
		
		company_copyright = (TextView) findViewById(R.id.company_copyright_txt);
		company_copyright.setText(Html.fromHtml(getIntent().getStringExtra("copyright")));

	}


	public void onClick(View v) {
		// TODO Auto-generated method stub
		if (v == header_left) {
			goback();
		} else if (v == header_right) {

		}

	}

}